using Abp.Authorization.Users;
using System.ComponentModel.DataAnnotations;
using Abp.Auditing;
using System.ComponentModel;

namespace Yozeev.Auditing.Dtos
{
    /// <summary>
    /// 日志表中的登录信息反序列化
    /// </summary>
    public class AuthenticateModel
    {
        public string userNameOrEmailAddress { get; set; }
        public string password { get; set; }
        /// <summary>
        /// 验证码
        /// </summary>
        public string verificationCode { get; set; }

        public bool rememberClient { get; set; }

        public string returnUrl { get; set; }

        public string sourceCode { get; set; }

        public AuthenticateModel()
        {
            sourceCode = "Reception";
        }
    }
    
    public class AllModel
    {
        public AuthenticateModel model { get; set; }
    }
}
